<template>
    <div class = 'addDoctor-page'>
        <addAndEditDoctor mode="add" :hospitalId= 'hospitalId' :jgtype= 'type' />
    </div>
</template>
<script>
import addAndEditDoctor from "./components/addAndEditDoctor";
export default {
    components: {
        addAndEditDoctor
    },
    data () {
        return {
            hospitalId: '',
            jgtype: '',
        }
    },
    created () {
        this.hospitalId = this.$route.query.hospitalId ? this.$route.query.hospitalId : null;
        this.jgtype = this.$route.query.jgtype
        let breadList = [
            { path: "/index", title: "首页" },
            {
                path: "/index/maintain/indexManagement/index",
                title: "索引管理"
            },
            {
                path: "/index/maintain/doctorregister/list",
                title: "医生注册信息"
            }
        ];
        this.$emit("changeBreadList", breadList);
    },
    mounted () {
    },
    methods: {

    }
}
</script>
<style lang="less" scoped>
// .addDoctor-page {
//     margin-left: 1%;
//     padding: 10px;
//     width: 98%;
//     background: #ffffff;
//     box-sizing: border-box;
//     font-size:14px
// }
</style>

